export default [
	{
		path: '/peccancy_query', // 违章查询
		name: 'peccancy_query',
//		component: resolve => require(['../pages/car/peccancy-query'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/peccancy-query'));}, 'h5project')},
		meta: {
			auth: true
		}
	},
	{
		path: '/peccancy-query-detail', // 违章查询结果
		name: 'peccancy-query-detail',
//		component: resolve => require(['../pages/car/peccancy-query-detail'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/peccancy-query-detail'));}, 'h5project')},
	},
	{
		path: '/sales_promotion',  // 最新促销
		name: 'sales_promotion',
//		component: resolve => require(['../pages/car/sales-promotion'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/sales-promotion'));}, 'h5project')},
		meta: {
			// auth: true
		}
	},
	{
		path: '/promotion-info/:id',
		name: 'promotion-info',
//		component: resolve => require(['../pages/car/promotion-info'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/promotion-info'));}, 'h5project')},
		meta: {
			// title: '活动详情',
			auth: false
		}
	},
	{
		path: '/car-examinationning',
		name: 'car-examinationning',
		// component: require('pages/car-examinationning'),
//		component: resolve => require(['../pages/car/car-examinationning'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/car-examinationning'));}, 'h5project')},
		meta: {
			// title: '全车体检',
			auth: true
		}
	},
	{
		path: '/car-examination',
		name: 'car-examination',
		// component: require('pages/car-examination'),
//		component: resolve => require(['../pages/car/car-examination'], resolve),
		component:resolve => {require.ensure([], function(require){resolve(require('../pages/car/car-examination'));}, 'h5project')},
		meta: {
			// title: '全车体检',
			auth: true
		}
	},
]